Gets the top level file references of the specified file.
(Response) A FileInfo object that consists of:
File object that consists of:
FileId (integer)
File Name (string)
Folder object that consists of:
FolderId (integer)
FolderPath
Version (integer)
Config object that consists of :
ConfigurationName (string)
ConfigurationId (integer)
Member of FileRef model
(Response) Whether the file reference is self-referential
(Response) Whether the file reference is a toolbox item
(Response) PweObjectType model; one of:
ObjType_NoObject = 0
ObjType_File = 1
ObjType_InternalComponent = 2
ObjType_SavedBOM = 3
ObjType_Item = 4
ObjType_CutListItem = 5
(Response) An array of BaseWarningModels; each BaseWarningModel consists of:
Message (string)
IsBlocking (boolean)
IsError (boolean)
(Response) The file reference's references; an array of FileRefs; each FileRef consists of:
File (FileInfo)
IsCyclic (boolean)
IsToolbox (integer)
ObjectType (PweObjectType)
Warnings (Array of BaseWarningModels)
References (Array of FileRefs)
Member of FileRef model; see Remarks
Provide feedback on this topic
SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.
* Required
Thank you for your comments. We will contact you if we have questions regarding your feedback.
Sincerely,The SOLIDWORKS Documentation Team
Print Topic
Select the scope of content to print:
We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.
Web Help Content Version: API Help (English only) 2023 SP05 To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help. To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.